Embedding Foreign Code [DRAFT]

نویسندگان

  • Robert Clifton-Everest
  • Trevor L. McDonell
  • Manuel M. T. Chakravarty
  • Gabriele Keller
چکیده

Special purpose embedded languages facilitate generating high-performance code from purely functional high-level code; for example, we want to program highly parallel GPUs without the usual high barrier to entry and the time-consuming development process. We previously demonstrated the feasibility of a skeleton-based, generative approach to compiling such embedded languages. In this paper, we (a) describe our solution to some of the practical problems with skeleton-based code generation and (b) introduce our approach to enabling interoperability with native code. In particular, we show, in the context of a functional embedded language for GPU programming, how template meta programming simplifies code generation and optimisation. Furthermore, we present our design for a foreign function interface for an embedded language.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Steganography Scheme Based on Reed-Muller Code with Improving Payload and Ability to Retrieval of Destroyed Data for Digital Images

In this paper, a new steganography scheme with high embedding payload and good visual quality is presented. Before embedding process, secret information is encoded as block using Reed-Muller error correction code. After data encoding and embedding into the low-order bits of host image, modulus function is used to increase visual quality of stego image. Since the proposed method is able to embed...

متن کامل

Embedding Foreign Code

Special purpose embedded languages facilitate generating high-performance code from purely functional high-level code; for example, we want to program highly parallel GPUs without the usual high barrier to entry and the time-consuming development process. We previously demonstrated the feasibility of a skeleton-based, generative approach to compiling such embedded languages. In this paper, we (...

متن کامل

تعهدات ناشی از قرارداد درمان با تأکید بر طرح چارچوب مشترک مرجع (DCFR)

A treatment contract involves joint obligations for the contracting parties which are normally a patient, a physician or a health center. A precise and detailed determination of the scope of these obligations plays a crucial part in the performance of the contract and specially in securing patients’ rights. This is what the Iranian legislator has failed to address or better to say that on...

متن کامل

WHO code of practice on the international recruitment of health personnel.

doi:10.2471/BLT.08.058578 The numbers of migrating health workers have increased significantly over the past few decades and patterns of global migration have become more complex as increasing demand for health workers in the world’s wealthiest countries has resulted in large numbers of health workers migrating from lower-income countries to work in higher-income countries.1 Health worker migra...

متن کامل

تدوین پیشنویس قانون سلامت روان

Objectives Mental health acts have been developed in different countries to protect human and civil rights of people with psychiatric disorders. In Iran, although there are some scattered laws within the existing body of laws, there is no separate mental health act. The aim of the present project was to prepare a draft pertaining to the mental health act in the country. Methods The draft of th...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2013